﻿@model sipfe.model.dataAccess.SIPMaePersona
@{   
    int i = 0;
}
@using Resources;
<script type="text/javascript" src="@Url.Content(@properties.mantePersonaJS)"></script>
<script type="text/javascript" src="@Url.Content(@properties.nuevoJS)"></script>
<script type="text/javascript">
    $(function () {
        calendarioFechaNac('dFecReside', '1');
    });
</script>
<div id="divPatrimonio">@RenderPage("../../Shared/RODatosPatrimonio.cshtml")</div>
<br />

<fieldset style="width: 700px;">
    <legend><span>Información de Patrimonio</span></legend>
    <table border="0">
            <tr>
                <td>Tipo de Patrimonio<span class="asterisco">(*)</span></td>                
                <td>SubTipo / Concepto</td>
                <td>Año</td>
                <td>Reside Desde</td>
                <td>Valor Apróximado<span class="asterisco">(*)</span></td>
                <td rowspan="4"><img src="@Url.Content("~/images/check.jpg")" class="lupita2" alt="AGREGAR"  onclick="javascript:registraPatrimonioMante('#divPatrimonio');"/></td>
            </tr>
            <tr>
                <td>@Html.DropDownList("nIdeTipoBien", (IEnumerable<SelectListItem>)ViewBag.TipoBien,"--Seleccione--", new { onchange="javascript:cargaSubTipoBien(this,'#divSubTipoBien');" })</td>
                <td>
                    <div id="divSubTipoBien">
                        <select id="nIdeSubTipo" name="nIdeSubTipo" style="width:200px;" >
                            <option value="">--Seleccione--</option>
                        </select>
                    </div>
                </td>
                <td><input type="text" id="nAnioBien" name="nAnioBien" style="width: 30px;" /></td>
                <td><input type="text" id="dFecReside" name="dFecReside" style="width: 60px;" /></td>
                <td><input type="text" id="nValor" name="nValor" style="width: 100px;" /></td>
            </tr>
    </table>
</fieldset>
